#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

name="Name Service Cache Daemon (unscd)"
command="/usr/sbin/unscd"
pidfile="/run/nscd/nscd.pid"

depend() {
	use dns ldap net slapd
}

start_pre() {
	checkpath -d --quiet --mode 755 /run/nscd
}
